<include file="public@header" />
</head>
<body>
	<div class="wrap js-check-wrap">
		<ul class="nav nav-tabs">
			<li class="active"><a href="{:url('Store/index')}">店铺列表</a></li>
			<li><a href="{:url('Store/add')}">新增店铺</a></li>
		</ul>
		<form action="" method="post" class="margin-top-20">
			<table class="table table-hover table-bordered">
				<thead>
					<tr>
						<th width="40">ID</th>
						<th align="left">店铺名称</th>
						<th align="left">店铺类别</th>
						<th align="left">商品id组合</th>
						<th align="left">负责人</th>
						<th align="left">身份证号</th>
						<th align="left">加盟费</th>
						<th align="left">手机号</th>
						<th align="left">座机号</th>
						<th align="left">地址</th>
						<th align="left">管理员</th>
						<th align="left">督导</th>
						<th align="left">状态</th>
						<th align="left">时间</th>
						<th width="160">操作</th>
					</tr>
				</thead>
				<tbody>
					<foreach name="list" item="vo">
					<tr>
						<td>{$vo.id}</td>
						<td>{$vo.store_name}</td>
						<td>{:get_store_type($vo['cat_store'],'cat_name')}</td>
						<td>{$vo.cat_ware}</td>
						<td>{$vo.principal}</td>
						<td>{$vo.idnumber}</td>
						<td>{$vo.franchise_fee}</td>
						<td>{$vo.mobile}</td>
						<td>{$vo.phone}</td>
						<td>{$vo.address}</td>
						<td>{:get_operator_data($vo['operator'],'user_login')}</td>
						<td>{:get_operator_data($vo['steer'],'user_login')}</td>
						<td>{$vo.status|get_kg}</td>
						<td>{$vo.ctime|time_format}</td>
						<td>
						<a href="{:url('Store/edit',array('id'=>$vo['id']))}">{:lang('EDIT')}</a>
						<a class="js-ajax-delete" href="{:url('Store/delete',array('id'=>$vo['id']))}">{:lang('DELETE')}</a>
					</td>
					</tr>
					</foreach>
				</tbody>
			</table>
		</form>
	</div>
	<script src="__STATIC__/js/admin.js"></script>
</body>
</html>